export const isMobile = () => {
  const u = navigator.userAgent
  return !!u.match(/AppleWebKit.*Mobile.*/i) || !!u.match(/MIDP|SymbianOS|NOKIA|SAMSUNG|LG|NEC|TCL|Alcatel|BIRD|DBTEL|Dopod|PHILIPS|HAIER|LENOVO|MOT-|Nokia|SonyEricsson|SIE-|Amoi|ZTE/)
}
